#pragma once
#include "Minion.h"
class Coin :
	public Minion
{
private:
	int popUpFrame[4] = { 4,5,6,7 };
	int popUpEndHeight;
public:
	Coin(LPCTSTR imgPath, int frameWidth, int frameHeight);
	virtual ~Coin();
	virtual void update();
	virtual bool CollideWith(T_Sprite* target, int distance = 0);

	virtual void playAnimation();

	void popUp();
};

